package com.yh.mp.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName("book")
public class BookInfo {

    @TableId(value = "bid", type = IdType.AUTO)
    private Integer bid;
    private String title;
    private String type;
    private Integer price;
}
